package cn.tedu.floristshop.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

@Configuration //设置当前类为配置类，启动工程时会自动执行
//得到完整类名或包名快捷键：ctrl+shift+alt+c
@MapperScan("cn.tedu.floristshop.mapper")//Mapper扫描注解，省去了每个Mapper接口上面添加@Mapper注解
public class MybatisConfig {

}

